add_definitions(-DTRANSLATION_DOMAIN=\"kcm_systeminfo\")

set(kcm_systeminfo_SRCS
    systeminfowidget.h
    systeminfowidget.cpp
    renamedialog.h
    renamedialog.cpp
    icons.qrc
)

ki18n_wrap_ui(kcm_systeminfo_SRCS
    systeminfowidget.ui
    renamedialog.ui
)

pkg_check_modules(DBusFramework  dframeworkdbus)

kcoreaddons_add_plugin(kcm_systeminfo SOURCES ${kcm_systeminfo_SRCS} INSTALL_NAMESPACE "plasma/kcms/systemsettings_qwidgets")
kcmutils_generate_desktop_file(kcm_systeminfo)

include_directories(
    ${DBusFramework_INCLUDE_DIRS}
)

target_link_libraries(kcm_systeminfo
    ${DBusFramework_LIBRARIES}
     KF5::AuthCore
     KF5::ConfigWidgets
     KF5::KIOWidgets
     KF5::NotifyConfig
     KF5::I18n

)

